package session;

import adress.Adress;
import phone.Phone;

public class Contact {
	private String name;
	private Phone phNr;
	private Adress addr;
	
	public Contact(String name, Phone phNr, Adress addr) {
		super();
		this.name = name;
		this.phNr = phNr;
		this.addr = addr;
	}

	@Override
	public String toString() {
		return "Contact [addr=" + addr + ", name=" + name + ", phNr=" + phNr
				+ "]";
	}
	
	

}
